'use strict';

const Response = require('./response');

class JsonResponse extends Response {

	constructor(response, options) {
		super(response, options);
	}

	getJSON() {
		return this.body;
	}

}

module.exports = JsonResponse;